/*
 * filter.h
 *
 * Created: 01.05.2012 15:17:57
 *  Author: Maxim Karban <maxim.karban@gmail.com>
 */ 


#ifndef FILTER_H_
#define FILTER_H_


extern int32_t filterA1_lpf(int32_t NewSample);
extern int32_t filterA1_avg(int32_t NewSample);

#define altitudeFilter(x) filterA1_avg(x)
//#define altitudeFilter(x) filterA1_lpf(x)

#endif /* FILTER_H_ */